package com.cykj.mapper;

import com.cykj.bean.Tblroomuser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GameMapper {
    List<Tblroomuser> selectroom(@Param("roomid") int roomid);

    List<Tblroomuser> selectuser(@Param("userid") int userid);

    int updreldy(@Param("userid") int userid);

    int updcancel(@Param("userid") int userid);

    List<Tblroomuser> selectout(@Param("userid")int userid);

    int getout(@Param("userid") int userid);

    int roomowner(@Param("roomid") int roomid);






}
